//导入vue
import Vue from 'vue'
//打开调试dev-tool工具
Vue.config.devtools = true
//导入router
import VueRouter from 'vue-router'
//安装router
Vue.use(VueRouter)
//导入resource
import VueResource from 'vue-resource'
//安装resource
Vue.use(VueResource)
//导入路由模块
import router from './router.js'
//导入bootstrap
import $ from 'jquery'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap.min.js'
import './css/main.css'
//导入vant_ui组件
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);
//导入app组件
import app from './app.vue'
//创建vm实例
const vm = new Vue({
    el:'#app',
    render:c => c (app),
    router
})